package practice1_100;

import java.util.ArrayList;
import java.util.Scanner;

public class Test {
    public static ArrayList<Integer> res=new ArrayList<>();
    public  static  void exc(int n){
        for (int i = 2; i <=n ; i++) {
            if(n% i==0){
                res.add(i);
                exc(n/i);
                break;
            }
        }
    }

    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int num=scanner.nextInt();
        exc(num);
        System.out.print(num+"=");
        for (int i = 0; i <res.size() ; i++) {
            if(i==0){
                System.out.print(res.get(i));
            }else {
                System.out.print("*"+res.get(i));
            }
        }
    }
}
